#ifndef UFCLT_H
#define UFCLT_H
#include <utility>
#include <vector>
#include "ufbase.h"
#include "uf1.h"

class UfClt
{
public:
    UfClt();
    void init(const char * fname, int algType=type::QUICKFIND );

    void run();

    enum type{
        QUICKFIND,
        QUICKUNION,
    };

private:
    typedef std::pair<int,int> SitesPair;
    std::vector<SitesPair> sites;
    UFBase * uf;

};

#endif // UFCLT_H
